﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Pager.ascx.cs" Inherits="spWebSite.Controls.Pager" %>
<div>
    <table style="width:100%; border-left:1px solid #DBDEE1; border-right:1px solid #DBDEE1; border-bottom:1px solid #DBDEE1;" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width:7px"></td>
            <td style="width:20px; height:30px;"><anthem:ImageButton ID="Prev" runat="server" ImageUrl="~/Resource/Images/Icon_Pre.gif" EnableCallBack="true" onclick="PrevNext_Click" /></td>
            <td style="width:18px; text-align:center;"><anthem:Label ID="CurrentPage" ForeColor="#CC7808" runat="server" Text="0" AutoUpdateAfterCallBack="true"></anthem:Label></td>
            <td style="width:20px"><anthem:ImageButton ID="Next" runat="server" ImageUrl="~/Resource/Images/Icon_Next.gif" EnableCallBack="true" onclick="PrevNext_Click" /></td>
            <td style="width:10px"></td>
            <td style="width:74px; text-align:right;">每页记录数</td>
            <td style="width:60px;">
                <anthem:DropDownList ID="ItemsPerPage" runat="server" AutoCallBack="true" EnableCallBack="true" onselectedindexchanged="ItemsPerPage_SelectedIndexChanged">
                    <asp:ListItem Text="10" Value="10"></asp:ListItem>
                    <asp:ListItem Text="15" Value="15"></asp:ListItem>
                    <asp:ListItem Text="20" Value="20"></asp:ListItem>
                    <asp:ListItem Text="40" Value="40" Selected="True"></asp:ListItem>
                </anthem:DropDownList>
            </td>
            <td style="width:60px;text-align:right;">总记录数:</td>
            <td><anthem:Label ID="ItemsNum" ForeColor="#CC7808" runat="server" Text="0" AutoUpdateAfterCallBack="true"></anthem:Label></td>
            <td>&nbsp;</td>
        </tr>
    </table>
</div> 